package chemtools_logica.Entidades.Vista;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@NamedQueries({ @NamedQuery(name = "Graficoinsumoenprod.findAll", query = "select o from Graficoinsumoenprod o") })
@Table(name = "\"graficoinsumoenprod\"")
public class Graficoinsumoenprod implements Serializable {
    private static final long serialVersionUID = 5215315655921918260L;
    @Column(name = "Cantidad_Usada", nullable = false)
    private long cantidad_Usada;
    @Id
    @Column(name = "Insumo")
    private String insumo;

    public Graficoinsumoenprod() {
    }

    public Graficoinsumoenprod(long cantidad_Usada, String insumo) {
        this.cantidad_Usada = cantidad_Usada;
        this.insumo = insumo;
    }

    public long getCantidad_Usada() {
        return cantidad_Usada;
    }

    public void setCantidad_Usada(long cantidad_Usada) {
        this.cantidad_Usada = cantidad_Usada;
    }

    public String getInsumo() {
        return insumo;
    }

    public void setInsumo(String insumo) {
        this.insumo = insumo;
    }
}
